package com.dt.dubai.mber.entity;

import com.dt.dubai.core.comm.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.hibernate.validator.constraints.*;

import javax.persistence.Table;
import javax.validation.constraints.*;


/*
 * 计量检测报告订单附属表
 */

@Data
@Table(name = "dt_mber_testing_order_appendix")
@EqualsAndHashCode(callSuper = false)
public class MberTestingOrderAppendixEntity extends BaseEntity {

    //顾客登录记录ID
    @NotNull(message = "customerRecordId参数不能为空")
    Long customerRecordId;

    //顾客商品订单ID
    Long customerOrderRecordId;

    //计量检测报告属性
    @Length(min = 0, max = 1000, message = "testingCommodityRemarkJson参数最大长度不1000")
    String testingCommodityRemarkJson;


}
